package bean;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-09-15
 * Time: 15:07
 */
public class User {
    private int accountNum;//账号
    private String password;//密码
    private int type;//类型

    public User(int accountNum, String password) {
        this.accountNum = accountNum;
        this.password = password;
    }

    public User(int accountNum, String password, int type) {
        this.accountNum = accountNum;
        this.password = password;
        this.type = type;
    }

    public int getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(int accountNum) {
        this.accountNum = accountNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
